home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 36 / Amiga Format CD36 (1999-01-22)(Future Publishing)(GB)[!][issue 1999-02].iso / -seriously_amiga- / comms / other / makeftpscript / makeftpscript.readme next >
Text File  |  1998-11-30  |  4KB  |  125 lines

  1. Short:    Make FTP script for UNIX system (v1.4)
  2. Author:   domagal@uci.agh.edu.pl (Grzegorz Fitrzyk)
  3. Uploader: domagal@uci.agh.edu.pl (Grzegorz Fitrzyk)
  4. Type:     comm/misc
  5.  
  6. If you have rights to use account on UNIX based system and you're
  7. coming to internet by phone line, it will be very good way for you
  8. to save some money. Autor of this script is collecting some part
  9. of recent files which he will to download, and from time to time
  10. he is making script with many NCFTP commands. After it hi upload
  11. it to his account on UNIX system and turn it on by commands:
  12.  
  13.          screen -R
  14.          chmod 700 script
  15.          script
  16.  
  17. press <ctrl-A-C> (it will open new screen)
  18. and when a screen is change hi is writing:
  19.  
  20.          screen -d
  21.          logout
  22.  
  23. Now hi turn off modem, and wait some time, and later hi doing FTP
  24. to his account and download all files.
  25. There is a many way to start script under UNIX but problem is that
  26. when you logout, your script is hangin off. This method is working.
  27. If on your server's no SCREEN command then try:
  28.  
  29.          batch < script
  30.  
  31. By the way, if you have low priority as a user of server, you must
  32. wait some time when it will be done (e.g. few days). When it will
  33. be download to your account, you will receive e-mail with report.
  34.  
  35. Also you can try AT command:
  36.  
  37.          at hh:mm < script
  38.  
  39. (where hh:mm is time when script will be start) e.g:
  40.  
  41.          at 1:00 < script
  42.  
  43. (at 1 o'clock script will start).
  44.  
  45. This script is doing from RECENT file script for UNIX based system.
  46. For example, every line of your RECENT file it will change to chain
  47. of command:
  48. orginal line of RECENT file:
  49.  
  50. ...
  51. WatchWatcher.lha   util/time   14K+Checks your clock's sanity V1.3 By F.Ultra
  52. ...
  53.  
  54. after use MakeFTPScript.rexx
  55.  
  56. ...
  57. ncftp ftp.wustl.edu:pub/aminet/util/time/WatchWatcher.lha
  58. ncftp ftp.wustl.edu:pub/aminet/util/time/WatchWatcher.readme (with README
  59.                                                                 switch on)
  60. ...
  61.  
  62. Usage: rx makeFTPScript.rexx ADDRESS/K SOURCE/K DEST/K README/S
  63. where: ADDRESS is address of ftp server where you like to download.
  64.        SOURCE  is filename of your RECENT file.
  65.        DEST    is filename of output file. (I'm using script name)
  66.        README  is switch which allow to make additional line with ".readme"
  67.  
  68. Req:   ARexx
  69.        Filenote (system file)
  70.  
  71.  
  72. Usage: rx checkFTPScript.rexx SOURCE/K DEST/K DIR/K INDEX/S
  73. where: SOURCE  is filename of script
  74.        DEST    is filename of new script
  75.        DIR     is directory with all files, which was download by SOURCE-script.
  76.        INDEX   after using this switch script is checking size of downloaded
  77.                files and comparing it with data in file with ".idx" extension,
  78.                which is doing by makeFTPscript.rexx (v1.4+).
  79.  
  80. Req:   ARexx
  81.        List     (System file)
  82.        Delete   (System file)
  83.        Filenote (System file)
  84.  
  85. This script is needed for a situation when some files was missed by server.
  86. When you see that you don't have some files which was available in script file,
  87. you can use this checkFTPScript.rexx and it will make new script with all files
  88. what was lost.
  89.  
  90. New feature! The script count total size of requested files and write it
  91.              to COMMENT field of script file.
  92.              New script CheckFTPScript.rexx now available!
  93.              Two Batch-files for DOS usage (if you'll use this scripts with
  94.              DOPUS, use Batch-file, because ARexx will have problem with
  95.              path like "Ram Disk:script".
  96.  
  97. Batch files:
  98.  
  99. mkftp ADDRESS/K,SOURCE/K,DEST/K,README/S
  100.  
  101. e.g.:
  102.  
  103. mkftp ftp.wustl.edu ram:recent ram:script
  104.  
  105. ckftp SOURCE/K,DEST/K,DIR/K,INDEX/S
  106.  
  107. e.g.:
  108.  
  109. ckftp ram:script ram:script_new dh2:download index
  110.  
  111. History:
  112.  
  113. 1.2          Fixed problem with slash in DIR option.
  114.  
  115. 1.3          Fixed problem with "?" as a size of file.
  116.  
  117. 1.32         The script count total size of requested files and write it
  118.              to COMMENT field of script file.
  119.              New script CheckFTPScript.rexx now available!
  120.  
  121. 1.4          MakeFTPScript is now making INDEX file. When you're using
  122.              CheckFTPScript, script is checking size of downloaded files
  123.              and comparing it to data in INDEX file. It's very useful
  124.              when some files is truncated or size of it is zero.
  125.